﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户登录—e路通</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="__CSS__/common.css" rel="stylesheet" type="text/css" />
<link href="__CSS__/Version4Master.css" rel="stylesheet" type="text/css" />
<link href="__CSS__/Public/login.css" rel="stylesheet" type="text/css" />
<link href="__CSS__/validator.css" rel="stylesheet" type="text/css" />
<script src="__JS__/jquery-1.4.1.js" type="text/javascript"></script>
<script src="__JS__/formValidator.js" type="text/javascript"></script>
<script src="__JS__/formValidatorRegex.js" type="text/javascript"></script>
<script type="text/javascript">
        $(document).ready(function (){
            $.formValidator.initConfig({ formid: "aspnetForm", onerror: function (msg) { alert(msg) }, onsuccess: function () { return true; } });
            $("#txtUserName").formValidator({ onshow: "请输入你的email", onfocus: "请注意输入email的格式", oncorrect: "输入正确" }).regexValidator({ regexp: "email", datatype: "enum", onerror: "邮箱地址格式不正确" });
            $("#txtPassword").formValidator({ onshow: "请输入密码", onfocus: "密码不能为空", oncorrect: "密码合法" }).inputValidator({ min: 1, empty: { leftempty: false, rightempty: false, emptyerror: "密码两边不能有空符号" }, onerror: "密码不能为空,请确认" });
            $("#verify").formValidator({ onshow: "请输入验证码", onfocus: "验证码不能为空", oncorrect: "输入合法" }).inputValidator({ min: 1, empty: { leftempty: false, rightempty: false, emptyerror: "验证码两边不能有空符号" }, onerror: "验证码不能为空,请确认" });
        });


    </script>
</head>
<body>
<form name="aspnetForm" method="post" action="{:U('Public/Index/loginCheck')}" id="aspnetForm">
  <div>
  </div>
  <script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}

//]]>
</script>
  <div id="container">
    <!-- 此处引入header 文件-->
	<include file="./Match/Tpl/Include/header.html" />
	<!-- 此处引入header 文件-->

  <div class="clear"> </div>
    <div id="position">
      <ul class="position">
        <li style="background: url(__IMG__/positionL.jpg) no-repeat; width: 15px;">&nbsp;</li>
        <li style="padding-top: 4px;">您的位置：<a href="###">大赛首页</a>》<a href="###">用户登录</a></li>
        <li style="background: url(__IMG__/positionR.jpg) right; float: right;">&nbsp;</li>
      </ul>
    </div>
    <div id="left">
      <div class="top" style="">
        <ul>
          <li style="background: url(__IMG__/V4_mainL.jpg) repeat-x scroll center top;">&nbsp;</li>
          <li>用户登录</li>
          <li style="background: url(__IMG__/V4_mainR.jpg) no-repeat right; float: right;">&nbsp;</li>
        </ul>
      </div>
      <div class="middle">
        <table width="298" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="80" align="right" height="35"> 用户名： </td>
            <td><input type="text"  maxlength="50" id="txtUserName" name="UserName" style="width: 150px;" value="{$Think.session.user_id}"/></td>
          </tr>
          <tr>
            <td width="80" align="right" height="35"> 密码： </td>
            <td><input type="password" maxlength="16"  id="txtPassword" name="Password" style="width: 150px;" value="{$Think.session.user_id}"/></td>
          </tr>
          
		  <tr>
            <td width="80" align="right" height="35"> 验证码： </td>
            <td><input type="text" name="verify" style="width: 80px; float: left;" />
				<img style="cursor: pointer; width: 50px; margin-left: 5px; float: left;"
				id="CheckCode" onclick="this.src=this.src+'?'+Math.random()" src="__URL__/verify" alt="点击刷新" /></td>
          </tr>
		  <tr>
            <td width="80" align="right" height="35"> 设置： </td>
				<td><input type="checkbox"   id="" name="save[]" style="width: 30px;"  value="1"/>自动登录</td>
          </tr>
			
			
          <tr>
            <td width="80" align="right" height="32">&nbsp;</td>
            <td height="30">
				<input value="" type="submit" style="background-image: url(__IMG__/button.jpg);
                            border: 0; cursor: pointer; width: 93px; height: 32px;" />
              <a href="__URL__/getPwd" style="line-height: 30px; color: #FF3300; padding-left: 10px;">忘记密码?</a></td>
          </tr>
        </table>
        <p style="border-top: 1px #336afa solid; width: 298px; margin-top: 10px; padding-top: 10px;
                text-align: center;"> 您还不是本网站用户？<span>请先注册。</span></p>
        <p style="width: 298px; text-align: center; padding-bottom: 15px;">
          <input type="button" name="button" value="新用户注册" onclick="javascript:window.location='run'"
                    style="width: 100px; height: 25px;" />
        </p>
      </div>
    </div>
    <div id="right">
      <dl>
        <dt><a href="{:U('Public/Index/login')}">用户登录</a></dt>
        <dd> 登录名为注册邮箱。 </dd>
        <dt><a href="{:U('Public/Index/run')}">注册新用户</a></dt>
        <dd> 注册一个帐号，登录后可以在博客、论坛中发表文章，也可以下载上传学习资源。</dd>
        <dt><a href="{:U('Public/Index/getPwd')}">找回密码</a></dt>
        <dd style="margin-bottom: 58px;"> 通过密码提示问题找回密码。</dd>
      </dl>
    </div>
    <div class="clear"> </div>
    <!--此处引入 footer文件-->
	<include file="./Match/Tpl/Include/footer.html" />
	<!--此处引入 footer文件-->
	
  </div>
  <script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F63e166eb1d295457aa24b81ff1a53347' type='text/javascript'%3E%3C/script%3E"));
</script>
  <script type="text/javascript">
        var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-20813267-1']); _gaq.push(['_setDomainName', '.newwinner.cn']);
        _gaq.push(['_trackPageview']); (function () {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; 
            ga.async = true; ga.src = ('https:' == document.location.protocol ? ' https://ssl' : ' http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })(); 
	function 
	
    </script>
  <script src="__JS__/Language.js" type="text/javascript"></script>
</form>
</body>
</html>